import {
  defineConfig
} from 'vite'
import uni from '@dcloudio/vite-plugin-uni'
import AutoImport from 'unplugin-auto-import/vite'

export default defineConfig({
  plugins: [
    uni(),
    // 自动导入配置vue,uni-app
    AutoImport({
      imports: [
        'vue',
        'uni-app'
      ]
    })
  ]
})